package edu.langnan.xiaoli.service;

import edu.langnan.xiaoli.core.domain.PictureDO;

/**
 * @author cql
 */
public interface PictureService {

    /**
     * 新增图片
     *
     * @param path
     * @param url
     * @return
     */
    PictureDO insertPicture(String path, String url);

    /**
     * 删除图片
     *
     * @param pictureDO
     */
    void deleteImage(PictureDO pictureDO);

}
